package com.sakura.serivce;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.dto.SetmealDto;
import com.sakura.pojo.Dish;
import com.sakura.pojo.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    void saveWithSetMealAndDish(SetmealDto setmealDto);

    Page<SetmealDto> pageWithClassify(Integer page, Integer pageSize, String name);

    SetmealDto selectSetmealDtoById(Long id);

    void removeWithDishByIds(List<Long> ids);

    void updateStatusByIds(Integer status, Long[] ids);
}

